import './assets/main.css'

import { createApp } from 'vue'
// import App from './App.vue'
import App from './01.counter.vue'

// 1. 导入createPinia
import { createPinia } from 'pinia'

// 2.执行方法得到实例
const pinia = createPinia()

// 3. 把pinia实例加入到app应用中
const app = createApp(App)
app.use(pinia)
// 检查 Pinia 是否正确注册
// console.log('Pinia registered:', pinia);

// app.use(router)
app.mount('#app')

